package com.zslibrary.Enum;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

public class StatusDefine {
    public static final int CMS_IDLE=0;
    public static final int CMS_AFTERBOOT=1;
    public static final int CMS_TESTING=2;
    public static final int CMS_PRODUCT=3;
    public static final int CMS_FUNCTION_OFF=4;
    public static final int CMS_STANDBY=5;
    public static final int CMS_SERVICE_ON=6;
    public static final int CMS_SERVICE_OFF=7;
    public static final int CMS_DIAGNOSIS=9;
    public static final int CMS_ESCROWMOTOR=10;
    public static final int CMS_WAKEUP=11;
    public static final int CMS_IN_BOOT=20;

    @IntDef({
            CMS_IDLE,
            CMS_AFTERBOOT,
            CMS_TESTING,
            CMS_PRODUCT,
            CMS_FUNCTION_OFF,
            CMS_STANDBY,
            CMS_SERVICE_ON,
            CMS_SERVICE_OFF,
            CMS_DIAGNOSIS,
            CMS_ESCROWMOTOR,
            CMS_WAKEUP,
            CMS_IN_BOOT
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface BoardStatus{}

}
